package com.chushouya.product.dto.admin.brand;

import com.general.framework.core.enums.StatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("品牌列表")
public class BrandListDTO {

    @ApiModelProperty("品牌ID")
    private Long brandId;

    @ApiModelProperty("品牌名称")
    private String brandName;

    @ApiModelProperty("品牌LOGO")
    private String brandImage;

    @ApiModelProperty("品牌描述")
    private String description;

    @ApiModelProperty("首字母")
    private String initial;

    @ApiModelProperty("状态")
    private Integer status;

    @ApiModelProperty("状态")
    private String statusDesc;

    @ApiModelProperty("排序")
    private Integer sort;

    public String getStatusDesc() {
        return StatusEnum.getDesc(this.status);
    }
}
